package cn.exam.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

/**
 * 导出成绩模板
 * @author shixiangcheng
 * @date 2025/03/09
 */
@ColumnWidth(25)
public class ScoreTemplate {
	@ExcelProperty("试题名称")
	private String pname;
	@ExcelProperty("学生名称")
	private String studentName;
	@ExcelProperty("得分")
	private int score;
	@ExcelProperty("做题时间")
	private String spid;
	
	public ScoreTemplate(String pname, String studentName, int score, String spid) {
		super();
		this.pname = pname;
		this.studentName = studentName;
		this.score = score;
		this.spid = spid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getSpid() {
		return spid;
	}
	public void setSpid(String spid) {
		this.spid = spid;
	}
}
